compile:
	vlib work
	vcom -check_synthesis -bindAtCompile ../shift_reg_n/shift_reg_n.vhd
	vcom -check_synthesis -bindAtCompile ../zero_detector_n/zero_detector_n.vhd
	vcom -check_synthesis -bindAtCompile ../ffd/ffd.vhd
	vcom -check_synthesis -bindAtCompile ../divide_16/divide_16.vhd
	vcom -check_synthesis -bindAtCompile fsm_uart/fsm_uart.vhd
	vcom -check_synthesis -bindAtCompile uart_controller.vhd
	vcom -bindAtCompile testbench_uart_controller.vhd
	

sim:
	vsim testbench_uart_controller

clean:
	rm -rf work *.wlf transcript
